package la.iok.hzsvn.lewin.movie.cloud.entity;

import la.iok.hzsvn.share.collection.IdAble;

import java.util.Date;

/**
 * 房间
 */
public class Room implements IdAble<Long> {
    /**
     * 经典房
     */
    public static final int LEVEL_CLASSIC = 0;
    /**
     * VIP房
     */
    public static final int LEVEL_VIP = 1;
    private Long id;
    /**
     * 房间名称
     */
    private String name;
    /**
     * 所属组织
     */
    private Long orgUnitId;
    /**
     * 房间级别。0：经典房;1：VIP房
     */
    private Integer level;
    /**
     * 等级过期时间
     */
    private Date levelExpireTime;
    /**
     * 数据版本。
     */
    private Long version;

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgUnitId() {
        return orgUnitId;
    }

    public void setOrgUnitId(Long orgUnitId) {
        this.orgUnitId = orgUnitId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Date getLevelExpireTime() {
        return levelExpireTime;
    }

    public void setLevelExpireTime(Date levelExpireTime) {
        this.levelExpireTime = levelExpireTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}
